<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-10 12:38:57 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git revert</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Patching">
                                Patching                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="a8ae4f8d8c19ef1eea3a68783232e9c68b1423fd7b23d3c7e05c50b9478c3ea0/49" data-source="git-revert" onmousemove="i18n(this)">git-revert</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="9a0f36b3f2a93afbd43cdc7bce6eba723f3b7240c20d9571925533d1e2ed9bb2/9f" data-source="git-revert - Revert some existing commits" onmousemove="i18n(this)">git-revert &mdash; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-scss">git revert <span class="hljs-selector-attr">[--[no-]</span>edit] <span class="hljs-selector-attr">[-n]</span> <span class="hljs-selector-attr">[-m &lt;parent-number&gt;]</span> <span class="hljs-selector-attr">[-s]</span> <span class="hljs-selector-attr">[-S[&lt;keyid&gt;]</span>] &lt;commit&gt;&hellip;&ZeroWidthSpace;
git revert (--continue | --skip | --abort | --quit)</pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="5373fb0e72b512f7bf31eb12b60fc6e74b6074ecb0995cf4edbab85cf6d65029/51" data-source="Given one or more existing commits, revert the changes that the related patches introduce, and record some new commits that record them. This requires your working tree to be clean (no modifications from the HEAD commit)." onmousemove="i18n(this)">&Ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&yacy; &ocy;&dcy;&icy;&ncy; &icy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&mcy;&icy; &pcy;&acy;&tcy;&chcy;&acy;&mcy;&icy;, &icy; &zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ncy;&ocy;&vcy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &icy;&khcy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&tcy;. &Dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&acy;&shcy;&iecy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &bcy;&ycy;&lcy;&ocy; &chcy;&icy;&scy;&tcy;&ycy;&mcy; (&bcy;&iecy;&zcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &pcy;&ocy;&scy;&lcy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; HEAD).</span></p> <p><span data-i18n="d26f6480d7c0eb8f10d274c060f20fdf082ccebc0e0f2acc949f02aea27ecbf9/15" data-source="Note: &lt;code&gt;git revert&lt;/code&gt; is used to record some new commits to reverse the effect of some earlier commits (often only a faulty one). If you want to throw away all uncommitted changes in your working directory, you should see &lt;a href=&quot;git-reset&quot;&gt;git-reset[1]&lt;/a&gt;, particularly the &lt;code&gt;--hard&lt;/code&gt; option. If you want to extract specific files as they were in another commit, you should see &lt;a href=&quot;git-restore&quot;&gt;git-restore[1]&lt;/a&gt;, specifically the &lt;code&gt;--source&lt;/code&gt; option. Take care with these alternatives as both will discard uncommitted changes in your working directory." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&chcy;&acy;&ncy;&icy;&iecy;.  <code>git revert</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &zcy;&acy;&pcy;&icy;&scy;&icy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ncy;&ocy;&vcy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; (&chcy;&acy;&scy;&tcy;&ocy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&shcy;&icy;&bcy;&ocy;&chcy;&ncy;&ycy;&khcy;). &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &vcy;&scy;&iecy; &ncy;&iecy;&zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &vcy;&acy;&shcy;&iecy;&mcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;, &vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &ucy;&vcy;&icy;&dcy;&iecy;&tcy;&softcy;  <a href="git-reset.html">git-reset[1]</a>  , &ocy;&scy;&ocy;&bcy;&iecy;&ncy;&ncy;&ocy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--hard</code> . &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&softcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &tcy;&ocy;&mcy; &vcy;&icy;&dcy;&iecy;, &vcy; &kcy;&acy;&kcy;&ocy;&mcy; &ocy;&ncy;&icy; &bcy;&ycy;&lcy;&icy; &vcy; &dcy;&rcy;&ucy;&gcy;&ocy;&mcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&iecy;, &vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &ucy;&vcy;&icy;&dcy;&iecy;&tcy;&softcy;  <a href="git-restore.html">git-restore[1]</a> , &acy; &icy;&mcy;&iecy;&ncy;&ncy;&ocy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--source</code> . &Bcy;&ucy;&dcy;&softcy;&tcy;&iecy; &ocy;&scy;&tcy;&ocy;&rcy;&ocy;&zhcy;&ncy;&ycy; &scy; &ecy;&tcy;&icy;&mcy;&icy; &acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&acy;&mcy;&icy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ocy;&bcy;&acy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&tcy;&bcy;&rcy;&acy;&scy;&ycy;&vcy;&acy;&tcy;&softcy; &ncy;&iecy;&zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &vcy;&acy;&shcy;&iecy;&mcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;.</span></p> <p><span data-i18n="465463e46081ba85fcd60b7d2bdfd9e4c6922ac704c441a1afd9ef1e011b3450/cd" data-source="See &amp;quot;Reset, restore and revert&amp;quot; in &lt;a href=&quot;git&quot;&gt;git[1]&lt;/a&gt; for the differences between the three commands." onmousemove="i18n(this)">&Scy;&mcy;.  &quot;Reset, restore and revert&quot;  &vcy;  <a href="git.html">git[1]</a> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&zcy;&ncy;&acy;&tcy;&softcy; &ocy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&yacy;&khcy; &mcy;&iecy;&zhcy;&dcy;&ucy; &tcy;&rcy;&iecy;&mcy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;&mcy;&icy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-revert.txt-ltcommitgt82308203"><span data-i18n="6b2cc0df1622e7d77d9c487c261a2a47c980aa9881ef82196b13707fb343b49c/4c" data-source="&amp;lt;commit&amp;gt;&amp;hellip;" onmousemove="i18n(this)">&lt;commit&gt;&hellip;</span></dt> <dd> <p><span data-i18n="b8c203209078fffc9ef1b5b06fab8cb4595af68ea5d4fde1148a86c89d161e7b/a5" data-source="Commits to revert. For a more complete list of ways to spell commit names, see &lt;a href=&quot;gitrevisions&quot;&gt;gitrevisions[7]&lt;/a&gt;. Sets of commits can also be given but no traversal is done by default, see &lt;a href=&quot;git-rev-list&quot;&gt;git-rev-list[1]&lt;/a&gt; and its &lt;code&gt;--no-walk&lt;/code&gt; option." onmousemove="i18n(this)">&Ocy;&bcy;&yacy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy;&iecy;&rcy;&ncy;&ucy;&tcy;&softcy;&scy;&yacy;. &Bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&ocy;&lcy;&ncy;&ycy;&jcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&ocy;&vcy; &ncy;&acy;&pcy;&icy;&scy;&acy;&ncy;&icy;&yacy; &icy;&mcy;&iecy;&ncy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &scy;&mcy;. &vcy;  <a href="gitrevisions.html">gitrevisions[7]</a> . &Tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&gcy;&ucy;&tcy; &bcy;&ycy;&tcy;&softcy; &zcy;&acy;&dcy;&acy;&ncy;&ycy; &ncy;&acy;&bcy;&ocy;&rcy;&ycy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &ncy;&ocy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ocy;&bcy;&khcy;&ocy;&dcy; &ncy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;, &scy;&mcy;.  <a href="git-rev-list.html">git-rev-list[1]</a>  &icy; &iecy;&gcy;&ocy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--no-walk</code> .</span></p> </dd> <dt id="Documentation/git-revert.txt--e"><span data-i18n="44d2846e091eb9e7b6ac807e4d426fc83e819cec5681288eb3696a5c0e3d3678/84" data-source="-e" onmousemove="i18n(this)">-e</span></dt> <dt id="Documentation/git-revert.txt---edit"><span data-i18n="cc5742b084b508c13441caade319afc12636c48b1bca9711e824e9997befc99b/d9" data-source="--edit" onmousemove="i18n(this)">--edit</span></dt> <dd> <p><span data-i18n="a4494d771e334c747c48c4297aafc838ac20ebeebd3afb806ab2e915dd7f5cc2/dd" data-source="With this option, &lt;code&gt;git revert&lt;/code&gt; will let you edit the commit message prior to committing the revert. This is the default if you run the command from a terminal." onmousemove="i18n(this)">&Scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy;  <code>git revert</code>  &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&icy;&tcy; &vcy;&acy;&mcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&iecy;&jcy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy;&acy;. &Ecy;&tcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy; &scy; &tcy;&iecy;&rcy;&mcy;&icy;&ncy;&acy;&lcy;&acy;.</span></p> </dd> <dt id="Documentation/git-revert.txt--mparent-number"><span data-i18n="96543e8f451ccabda7e591f33dd19ae3e3bdac0ec756f8a0d1412b55b1e52bce/69" data-source="-m parent-number" onmousemove="i18n(this)">-m parent-number</span></dt> <dt id="Documentation/git-revert.txt---mainlineparent-number"><span data-i18n="0867e27410e007b1a9eb8b780a197e5729d3e03e00e8257c869bb3e4dedc796e/f5" data-source="--mainline parent-number" onmousemove="i18n(this)">--mainline parent-number</span></dt> <dd> <p><span data-i18n="f38f28c6c79cafbe1705bfaf74f4bb06038fec3ef8bda184988fb7812013d9d7/c9" data-source="Usually you cannot revert a merge because you do not know which side of the merge should be considered the mainline. This option specifies the parent number (starting from 1) of the mainline and allows revert to reverse the change relative to the specified parent." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &vcy;&ycy; &ncy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&iecy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ncy;&iecy; &zcy;&ncy;&acy;&iecy;&tcy;&iecy;, &kcy;&acy;&kcy;&ucy;&yucy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &scy;&chcy;&icy;&tcy;&acy;&tcy;&softcy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy; &lcy;&icy;&ncy;&icy;&iecy;&jcy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &rcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&icy;&jcy; &ncy;&ocy;&mcy;&iecy;&rcy; (&ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy; 1) &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy; &lcy;&icy;&ncy;&icy;&icy; &icy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &ocy;&tcy;&ncy;&ocy;&scy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&ocy;&gcy;&ocy; &ecy;&lcy;&iecy;&mcy;&iecy;&ncy;&tcy;&acy;.</span></p> <p><span data-i18n="05e3ff8113c15be4b0dd82f145451742ccf69101ae6de5a62e7972ba5baa9c52/40" data-source="Reverting a merge commit declares that you will never want the tree changes brought in by the merge. As a result, later merges will only bring in tree changes introduced by commits that are not ancestors of the previously reverted merge. This may or may not be what you want." onmousemove="i18n(this)">&Ocy;&tcy;&mcy;&iecy;&ncy;&acy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &vcy;&ycy; &ncy;&icy;&kcy;&ocy;&gcy;&dcy;&acy; &ncy;&iecy; &zcy;&acy;&khcy;&ocy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&ocy;&scy;&icy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&iecy;&mcy;. &Vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&iecy; &bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&ocy;&zcy;&dcy;&ncy;&icy;&iecy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&rcy;&icy;&ncy;&ocy;&scy;&icy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &pcy;&rcy;&iecy;&dcy;&kcy;&acy;&mcy;&icy; &rcy;&acy;&ncy;&iecy;&iecy; &ocy;&tcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy;, &acy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy; &ncy;&iecy; &bcy;&ycy;&tcy;&softcy; &tcy;&iecy;&mcy;, &chcy;&iecy;&gcy;&ocy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy;.</span></p> <p><span data-i18n="0c2ce2ffc381d54cda6bd7dcb6cd4791d47c96a38fb51be20f7069f5233addea/01" data-source="See the &lt;a href=&quot;https://git-scm.com/docs/howto/revert-a-faulty-merge&quot;&gt;revert-a-faulty-merge How-To&lt;/a&gt; for more details." onmousemove="i18n(this)">&Bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &scy;&mcy;. &vcy;  <a href="https://git-scm.com/docs/howto/revert-a-faulty-merge">revert-a-faulty-merge How-To</a> .</span></p> </dd> <dt id="Documentation/git-revert.txt---no-edit"><span data-i18n="cc70d86c9543bdf1e051d41cbe3306912e8c1b6beb16fd96ba780a0ea6d4e1e0/1d" data-source="--no-edit" onmousemove="i18n(this)">--no-edit</span></dt> <dd> <p><span data-i18n="936c4ab457a898cf1e980310aa13759ce16ece12d836ae6e90081fed57a97a4d/7b" data-source="With this option, &lt;code&gt;git revert&lt;/code&gt; will not start the commit message editor." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy;  <code>git revert</code>  &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&tcy;&softcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&jcy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-revert.txt---cleanupltmodegt"><span data-i18n="5c5c7a37707f096405160705e708cfc6e08b4a3726d31ed1fe15b624620edb50/1d" data-source="--cleanup=&amp;lt;mode&amp;gt;" onmousemove="i18n(this)">--cleanup=&lt;mode&gt;</span></dt> <dd> <p><span data-i18n="5735fa472dc4001d350d547a2d8e392380f8bdb9ca0a8c25f07dbb0e3217389c/32" data-source="This option determines how the commit message will be cleaned up before being passed on to the commit machinery. See &lt;a href=&quot;git-commit&quot;&gt;git-commit[1]&lt;/a&gt; for more details. In particular, if the &lt;code&gt;&amp;lt;mode&amp;gt;&lt;/code&gt; is given a value of &lt;code&gt;scissors&lt;/code&gt;, scissors will be appended to &lt;code&gt;MERGE_MSG&lt;/code&gt; before being passed on in the case of a conflict." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy;, &kcy;&acy;&kcy; &bcy;&ucy;&dcy;&iecy;&tcy; &ocy;&chcy;&icy;&shchcy;&acy;&tcy;&softcy;&scy;&yacy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&iecy;&jcy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy;&ucy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;. &Dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &scy;&mcy;. &vcy;  <a href="git-commit.html">git-commit[1]</a> . &Vcy; &chcy;&acy;&scy;&tcy;&ncy;&ocy;&scy;&tcy;&icy;, &iecy;&scy;&lcy;&icy;  <code>&lt;mode&gt;</code>  &pcy;&rcy;&icy;&scy;&vcy;&ocy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>scissors</code> , &ncy;&ocy;&zhcy;&ncy;&icy;&tscy;&ycy; &bcy;&ucy;&dcy;&ucy;&tcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy; &kcy;  <code>MERGE_MSG</code>  &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&iecy;&jcy; &dcy;&acy;&lcy;&softcy;&shcy;&iecy; &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-revert.txt--n"><span data-i18n="5249f4fcc629efa0e6d6b2bf746b6c5de61611ce719ad61ac820fbe5c8cece66/28" data-source="-n" onmousemove="i18n(this)">-n</span></dt> <dt id="Documentation/git-revert.txt---no-commit"><span data-i18n="9b9cdda0ab6238702817cce7bcef8e46569714f6e6c2c84eac494be486ce2c24/0b" data-source="--no-commit" onmousemove="i18n(this)">--no-commit</span></dt> <dd> <p><span data-i18n="36cfd67b1a3f4cf6d594569e1359da267e367454d42da30bf08c4f02120f41f0/7f" data-source="Usually the command automatically creates some commits with commit log messages stating which commits were reverted. This flag applies the changes necessary to revert the named commits to your working tree and the index, but does not make the commits. In addition, when this option is used, your index does not have to match the HEAD commit. The revert is done against the beginning state of your index." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &scy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;&mcy;&icy; &zhcy;&ucy;&rcy;&ncy;&acy;&lcy;&acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;, &kcy;&acy;&kcy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &bcy;&ycy;&lcy;&icy; &ocy;&tcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ycy;. &Ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy;&iecy; &dcy;&lcy;&yacy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy;&acy; &icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &vcy; &vcy;&acy;&shcy;&iecy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;, &ncy;&ocy; &ncy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &vcy;&acy;&shcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &ncy;&iecy; &ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; HEAD. &Vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &kcy; &ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy;&mcy;&ucy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&yucy; &vcy;&acy;&shcy;&iecy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;.</span></p> <p><span data-i18n="9d58ea889b29cf646305eeb525dc9c534320522083607025d8477728064b81c1/ad" data-source="This is useful when reverting more than one commits&amp;apos; effect to your index in a row." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &pcy;&rcy;&icy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy;&iecy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&acy; &bcy;&ocy;&lcy;&iecy;&iecy; &chcy;&iecy;&mcy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &kcy; &vcy;&acy;&shcy;&iecy;&mcy;&ucy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy; &pcy;&ocy;&dcy;&rcy;&yacy;&dcy;.</span></p> </dd> <dt id="Documentation/git-revert.txt--Sltkeyidgt"><span data-i18n="81022e0227a476cb39b3c7536e8861d916ea9462349bdbb91fe1f1ee856622ff/ad" data-source="-S[&amp;lt;keyid&amp;gt;]" onmousemove="i18n(this)">-S[&lt;keyid&gt;]</span></dt> <dt id="Documentation/git-revert.txt---gpg-signltkeyidgt"><span data-i18n="df48474147c9c7172d8f1029beb425f8566e8a840580f02b664cfd0a332db8e6/2e" data-source="--gpg-sign[=&amp;lt;keyid&amp;gt;]" onmousemove="i18n(this)">--gpg-sign[=&lt;keyid&gt;]</span></dt> <dt id="Documentation/git-revert.txt---no-gpg-sign"><span data-i18n="08f741608de1fc2eb2af984114e38f3f6852b5d615634c4e27dffda230a0220e/ee" data-source="--no-gpg-sign" onmousemove="i18n(this)">--no-gpg-sign</span></dt> <dd> <p><span data-i18n="9fe40652f924289c50713764fdfcd723591e2214b07842c244b4612d52d216a6/47" data-source="GPG-sign commits. The &lt;code&gt;keyid&lt;/code&gt; argument is optional and defaults to the committer identity; if specified, it must be stuck to the option without a space. &lt;code&gt;--no-gpg-sign&lt;/code&gt; is useful to countermand both &lt;code&gt;commit.gpgSign&lt;/code&gt; configuration variable, and earlier &lt;code&gt;--gpg-sign&lt;/code&gt;." onmousemove="i18n(this)">GPG-&zcy;&ncy;&acy;&kcy; &fcy;&icy;&kcy;&scy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;. &Acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;  <code>keyid</code>  &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&mcy; &icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ucy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&tcy;&iecy;&rcy;&acy;; &iecy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &ocy;&ncy;&ocy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &bcy;&ycy;&tcy;&softcy; &pcy;&rcy;&icy;&kcy;&rcy;&iecy;&pcy;&lcy;&iecy;&ncy;&ocy; &kcy; &ocy;&pcy;&tscy;&icy;&icy; &bcy;&iecy;&zcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;.  <code>--no-gpg-sign</code>  &pcy;&ocy;&lcy;&iecy;&zcy;&iecy;&ncy; &dcy;&lcy;&yacy; &ocy;&tcy;&mcy;&iecy;&ncy;&ycy; &kcy;&acy;&kcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>commit.gpgSign</code> , &tcy;&acy;&kcy; &icy; &bcy;&ocy;&lcy;&iecy;&iecy; &rcy;&acy;&ncy;&ncy;&iecy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&icy;  <code>--gpg-sign</code> .</span></p> </dd> <dt id="Documentation/git-revert.txt--s"><span data-i18n="922e17b4edd60ff0277a57db2cdf26a407350a6ffbd4129318f293841d289609/7a" data-source="-s" onmousemove="i18n(this)">-s</span></dt> <dt id="Documentation/git-revert.txt---signoff"><span data-i18n="8deeb9c823dc56953005eef28f08e1ae8e950a5ddcdf5af3be9c52d2b23e5e32/fa" data-source="--signoff" onmousemove="i18n(this)">--signoff</span></dt> <dd> <p><span data-i18n="d93fb949731de517addd4e32551909c7d769f94e0f215e012a1651f0b643f32f/4c" data-source="Add a &lt;code&gt;Signed-off-by&lt;/code&gt; trailer at the end of the commit message. See the signoff option in &lt;a href=&quot;git-commit&quot;&gt;git-commit[1]&lt;/a&gt; for more information." onmousemove="i18n(this)">&Dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &tcy;&rcy;&iecy;&jcy;&lcy;&iecy;&rcy;  <code>Signed-off-by</code>  &vcy; &kcy;&ocy;&ncy;&tscy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;. &Dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy; &laquo;&Vcy;&ycy;&pcy;&icy;&scy;&kcy;&acy;&raquo; &vcy;  <a href="git-commit.html">git-commit[1]</a> .</span></p> </dd> <dt id="Documentation/git-revert.txt---strategyltstrategygt"><span data-i18n="d59ee41a7fbb46b68cbf62188c2b07682e9a907bb7606d1c90992296bfb8adc7/ef" data-source="--strategy=&amp;lt;strategy&amp;gt;" onmousemove="i18n(this)">--strategy=&lt;strategy&gt;</span></dt> <dd> <p><span data-i18n="782ea65d98b64ef279c450660492b8eb8042b05c07bba4ba424ceefff608c28c/73" data-source="Use the given merge strategy. Should only be used once. See the MERGE STRATEGIES section in &lt;a href=&quot;git-merge&quot;&gt;git-merge[1]&lt;/a&gt; for details." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ucy;&yucy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&dcy;&icy;&ncy; &rcy;&acy;&zcy;. &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy; &laquo;&Scy;&Tcy;&Rcy;&Acy;&Tcy;&IEcy;&Gcy;&Icy;&Icy; &Scy;&Lcy;&Icy;&YAcy;&Ncy;&Icy;&YAcy;&raquo; &vcy;  <a href="git-merge.html">git-merge[1]</a> .</span></p> </dd> <dt id="Documentation/git-revert.txt--Xltoptiongt"><span data-i18n="2a3393c8b934db9fc87eed158d7f8ca1cc329278baa6938bf59478b7ac087ad6/ea" data-source="-X&amp;lt;option&amp;gt;" onmousemove="i18n(this)">-X&lt;option&gt;</span></dt> <dt id="Documentation/git-revert.txt---strategy-optionltoptiongt"><span data-i18n="e47d551fb0c5511482ebe96bc5a802666661f0026af76682c0554939019c81b0/13" data-source="--strategy-option=&amp;lt;option&amp;gt;" onmousemove="i18n(this)">--strategy-option=&lt;option&gt;</span></dt> <dd> <p><span data-i18n="db5ba01a2aadaa4e01306b4ff15a5f7dec9ffa530edcd42eec560fac7bb977e0/13" data-source="Pass the merge strategy-specific option through to the merge strategy. See &lt;a href=&quot;git-merge&quot;&gt;git-merge[1]&lt;/a&gt; for details." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&dcy;&acy;&jcy;&tcy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;, &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&chcy;&ncy;&ycy;&jcy; &dcy;&lcy;&yacy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &vcy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&yucy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;. &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  <a href="git-merge.html">git-merge[1]</a> .</span></p> </dd> <dt id="Documentation/git-revert.txt---rerere-autoupdate"><span data-i18n="43c74f65e0d9d1c69438db1ed03d4e5e5863408a6674c1e9d6831d14543668fe/7a" data-source="--rerere-autoupdate" onmousemove="i18n(this)">--rerere-autoupdate</span></dt> <dt id="Documentation/git-revert.txt---no-rerere-autoupdate"><span data-i18n="2ff823999087968f494b4f32b8d55be1e46326b3680d2fb17d3e8929ec491196/09" data-source="--no-rerere-autoupdate" onmousemove="i18n(this)">--no-rerere-autoupdate</span></dt> <dd> <p><span data-i18n="854915326a4a41d6390df56a9d3d1487178d7eddd59fb5fbc6317b45374a5b2c/a6" data-source="After the rerere mechanism reuses a recorded resolution on the current conflict to update the files in the working tree, allow it to also update the index with the result of resolution. &lt;code&gt;--no-rerere-autoupdate&lt;/code&gt; is a good way to double-check what &lt;code&gt;rerere&lt;/code&gt; did and catch potential mismerges, before committing the result to the index with a separate &lt;code&gt;git add&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy; rerere &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ocy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy; &dcy;&lcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;, &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&iecy; &iecy;&mcy;&ucy; &tcy;&acy;&kcy;&zhcy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &scy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy;.  <code>--no-rerere-autoupdate</code>  &mdash; &khcy;&ocy;&rcy;&ocy;&shcy;&icy;&jcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy; &pcy;&iecy;&rcy;&iecy;&pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy; &tcy;&ocy;, &chcy;&tcy;&ocy; &scy;&dcy;&iecy;&lcy;&acy;&lcy;  <code>rerere</code> , &icy; &vcy;&ycy;&yacy;&vcy;&icy;&tcy;&softcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ycy;&iecy; &ocy;&shcy;&icy;&bcy;&kcy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &pcy;&rcy;&iecy;&zhcy;&dcy;&iecy; &chcy;&iecy;&mcy; &zcy;&acy;&ncy;&ocy;&scy;&icy;&tcy;&softcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy;  <code>git add</code> .</span></p> </dd> <dt id="Documentation/git-revert.txt---reference"><span data-i18n="3b829a80e01721490499e69dfd8c157796b9bcf92bbc8e31b5a063dd5ea8fc09/40" data-source="--reference" onmousemove="i18n(this)">--reference</span></dt> <dd> <p><span data-i18n="c78f4a5ac29279bcf3a4345604510881ff70941d7618b4396fbb815ff9d5dfe0/d9" data-source="Instead of starting the body of the log message with &amp;quot;This reverts &amp;lt;full object name of the commit being reverted&amp;gt;.&amp;quot;, refer to the commit using &amp;quot;--pretty=reference&amp;quot; format (cf. &lt;a href=&quot;git-log&quot;&gt;git-log[1]&lt;/a&gt;). The &lt;code&gt;revert.reference&lt;/code&gt; configuration variable can be used to enable this option by default." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&tcy;&softcy; &tcy;&iecy;&lcy;&ocy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &zhcy;&ucy;&rcy;&ncy;&acy;&lcy;&acy; &scy;  &quot;This reverts &lt;full object name of the commit being reverted&gt;.&quot; , &ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy;&scy;&softcy; &kcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;  &quot;--pretty=reference&quot;  (&scy;&mcy;.  <a href="git-log.html">git-log[1]</a> ). &Pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>revert.reference</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_sequencer_subcommands"><span data-i18n="147b68b64bb3c1aef7d3942b4b256ae1d05a33b57e25325f5f75162dfe040bba/b2" data-source="Sequencer subcommands" onmousemove="i18n(this)">Sequencer subcommands</span></h2> <div> <div> <dl> <dt id="Documentation/git-revert.txt---continue"><span data-i18n="a06a8ce6e8eddeea26bb4ce1a5233519275843923fd9619cbd7927cc69da5eb1/28" data-source="--continue" onmousemove="i18n(this)">--continue</span></dt> <dd> <p><span data-i18n="8a214a8b00ba0652b375226326b9048fbc43e931ac7790b1ef640dbe3ea84bd4/0f" data-source="Continue the operation in progress using the information in &lt;code&gt;.git/sequencer&lt;/code&gt;. Can be used to continue after resolving conflicts in a failed cherry-pick or revert." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&mcy;&ucy;&yucy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yucy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &vcy;  <code>.git/sequencer</code> . &Mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ocy;&vcy; &pcy;&rcy;&icy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;&mcy; &vcy;&ycy;&bcy;&ocy;&rcy;&iecy; &icy;&lcy;&icy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-revert.txt---skip"><span data-i18n="142b6595e1235637a0b29a91970a8847aab333d1aa6ebb6349ec8d32fe2026b0/08" data-source="--skip" onmousemove="i18n(this)">--skip</span></dt> <dd> <p><span data-i18n="53f489108a3d9add24773301493b77c7c77e6d09a4b4cece1843b7f455dc72b5/f4" data-source="Skip the current commit and continue with the rest of the sequence." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &icy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &ocy;&scy;&tcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &chcy;&acy;&scy;&tcy;&icy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&icy;.</span></p> </dd> <dt id="Documentation/git-revert.txt---quit"><span data-i18n="df2c6d5508e1f0a2315e06c6032b8bc76b6e828bc56bbab66d89ec4f71d10f29/e5" data-source="--quit" onmousemove="i18n(this)">--quit</span></dt> <dd> <p><span data-i18n="f27f3b3dcd047b93ea260bacb039b417acbf21e21e529ba3ee414351651b3264/d0" data-source="Forget about the current operation in progress. Can be used to clear the sequencer state after a failed cherry-pick or revert." onmousemove="i18n(this)">&Zcy;&acy;&bcy;&ucy;&dcy;&softcy;&tcy;&iecy; &ocy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&mcy;&ocy;&jcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy;. &Mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &ocy;&chcy;&icy;&scy;&tcy;&kcy;&icy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&yacy; &scy;&iecy;&kcy;&vcy;&iecy;&ncy;&scy;&ocy;&rcy;&acy; &pcy;&ocy;&scy;&lcy;&iecy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;&gcy;&ocy; &vcy;&ycy;&bcy;&ocy;&rcy;&acy; &vcy;&icy;&shcy;&ncy;&icy; &icy;&lcy;&icy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-revert.txt---abort"><span data-i18n="eea83aeda8cb36a95998ab5eb77be727f99e98311c29a90c13df34ee87991d66/7a" data-source="--abort" onmousemove="i18n(this)">--abort</span></dt> <dd> <p><span data-i18n="9f4273ed96491d9d5b91bce6daa259ec6ab70db5133b1516fc3ab3d3470bd72e/b5" data-source="Cancel the operation and return to the pre-sequence state." onmousemove="i18n(this)">&Ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yucy; &icy; &vcy;&iecy;&rcy;&ncy;&icy;&tcy;&iecy;&scy;&softcy; &vcy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&iecy; &dcy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&icy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <div> <dl> <dt id="Documentation/git-revert.txt-codegitrevertHEAD3code"> <code>git revert HEAD~3</code> </dt> <dd> <p><span data-i18n="5d2d568dbddd606a4e92aa71acd7c9d03d6547baa26ab6cace616f4880cf26d7/77" data-source="Revert the changes specified by the fourth last commit in HEAD and create a new commit with the reverted changes." onmousemove="i18n(this)">&Ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &chcy;&iecy;&tcy;&vcy;&iecy;&rcy;&tcy;&ocy;&mcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&mcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&iecy; &vcy; HEAD, &icy; &scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &scy; &ocy;&tcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;&mcy;&icy;.</span></p> </dd> <dt id="Documentation/git-revert.txt-codegitrevert-nmaster5master2code"> <code>git revert -n master~5..master~2</code> </dt> <dd> <p><span data-i18n="a1c3075ee58a5a0e79ab4898bfad48c6090fccf4a8be7ac8936d1928fc28b034/7c" data-source="Revert the changes done by commits from the fifth last commit in master (included) to the third last commit in master (included), but do not create any commit with the reverted changes. The revert only modifies the working tree and the index." onmousemove="i18n(this)">&Ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy; &scy; &pcy;&yacy;&tcy;&ocy;&gcy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &vcy; master (&vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;) &dcy;&ocy; &tcy;&rcy;&iecy;&tcy;&softcy;&iecy;&gcy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &vcy; master (&vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;), &ncy;&ocy; &ncy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&jcy;&tcy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &scy; &ocy;&tcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;&mcy;&icy;. &Vcy;&ocy;&zcy;&vcy;&rcy;&acy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_discussion"><span data-i18n="5eb6cf647d2c5d14a044e2d103dcef4cf0cdc872434c374debc1043092bc4746/dd" data-source="Discussion" onmousemove="i18n(this)">Discussion</span></h2> <div> <p><span data-i18n="ff5ce0ed20c41de67b8557381d4ed8367a2c4f1fd55f9385c3a079edfaae82c7/8f" data-source="While git creates a basic commit message automatically, it is &lt;code&gt;strongly&lt;/code&gt; recommended to explain why the original commit is being reverted. In addition, repeatedly reverting reverts will result in increasingly unwieldy subject lines, for example &lt;code&gt;Reapply &amp;quot;Reapply &amp;quot;&amp;lt;original subject&amp;gt;&amp;quot;&amp;quot;&lt;/code&gt;. Please consider rewording these to be shorter and more unique." onmousemove="i18n(this)">&KHcy;&ocy;&tcy;&yacy;  git  &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &bcy;&acy;&zcy;&ocy;&vcy;&ocy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;,  <code>strongly</code>  &rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&hardcy;&yacy;&scy;&ncy;&icy;&tcy;&softcy;, &pcy;&ocy;&chcy;&iecy;&mcy;&ucy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&acy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yacy; &ocy;&tcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &mcy;&ncy;&ocy;&gcy;&ocy;&kcy;&rcy;&acy;&tcy;&ncy;&ocy;&iecy; &ocy;&tcy;&kcy;&acy;&tcy; &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yucy; &bcy;&ocy;&lcy;&iecy;&iecy; &gcy;&rcy;&ocy;&mcy;&ocy;&zcy;&dcy;&kcy;&icy;&khcy; &scy;&tcy;&rcy;&ocy;&kcy; &tcy;&iecy;&mcy;&ycy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <code>Reapply &quot;Reapply &quot;&lt;original subject&gt;&quot;&quot;</code>  . &Pcy;&ocy;&zhcy;&acy;&lcy;&ucy;&jcy;&scy;&tcy;&acy;, &rcy;&acy;&scy;&scy;&mcy;&ocy;&tcy;&rcy;&icy;&tcy;&iecy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy; &icy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&ncy;&icy; &bcy;&ycy;&lcy;&icy; &kcy;&ocy;&rcy;&ocy;&chcy;&iecy; &icy; &bcy;&ocy;&lcy;&iecy;&iecy; &ucy;&ncy;&icy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy;&icy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_configuration"><span data-i18n="b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc/aa" data-source="Configuration" onmousemove="i18n(this)">Configuration</span></h2> <div> <p><span data-i18n="5b8d919fa35b75aa925ebd5414ed6373e762fb0a087a062961c27b2ce9586555/57" data-source="Everything below this line in this section is selectively included from the &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; documentation. The content is the same as what&amp;rsquo;s found there:" onmousemove="i18n(this)">&Vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&icy;&zhcy;&iecy; &ecy;&tcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;, &vcy;&ycy;&bcy;&ocy;&rcy;&ocy;&chcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &icy;&zcy; &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&icy;  <a href="git-config.html">git-config[1]</a> . &Scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&ncy;&icy;&iecy; &tcy;&acy;&kcy;&ocy;&iecy; &zhcy;&iecy;, &kcy;&acy;&kcy; &icy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ocy;&iecy; &tcy;&acy;&mcy;:</span></p> <div> <dl> <dt id="Documentation/git-revert.txt-revertreference"><span data-i18n="682570d2793a130b1a023f4ebbf62f5828ca663d9708f4edb26a39b48d2b95ba/78" data-source="revert.reference" onmousemove="i18n(this)">revert.reference</span></dt> <dd> <p><span data-i18n="fb0cabc57b1ea57c1cfd82fa96822210ad75a18f88b74cdc5fdd767e6b2b054b/44" data-source="Setting this variable to true makes &lt;code&gt;git revert&lt;/code&gt; behave as if the &lt;code&gt;--reference&lt;/code&gt; option is given." onmousemove="i18n(this)">&Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&acy; &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;  true  &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy; &tcy;&ocy;&mcy;&ucy;, &chcy;&tcy;&ocy;  <code>git revert</code>  &vcy;&iecy;&dcy;&iecy;&tcy; &scy;&iecy;&bcy;&yacy; &tcy;&acy;&kcy;, &kcy;&acy;&kcy; &iecy;&scy;&lcy;&icy; &bcy;&ycy; &bcy;&ycy;&lcy;&acy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--reference</code> .</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_see_also"><span data-i18n="2fa97693b70fa87b95b2d1bdf9558e4ac65d5e82d145f13a03849c4d9c4957a9/40" data-source="See also" onmousemove="i18n(this)">See also</span></h2> <div> <p><a href="git-cherry-pick.html"><span data-i18n="d0e3e23bf09bb5366708ec1391005f3c0453416de87d6cb322031c9ff54aaeab/f8" data-source="git-cherry-pick[1]" onmousemove="i18n(this)">git-cherry-pick[1]</span></a></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-revert">https://git-scm.com/docs/git-revert</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                            <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-rm.html">
                            git rm                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-send-email.html">
                            git send-email                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-send-pack.html">
                            git send-pack                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-sh-i18n.html">
                            git sh-i18n                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-sh-i18n--envsubst.html">
                            git sh-i18n--envsubst                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-sh-setup.html">
                            git sh-setup                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-shell.html">
                            git shell                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                   <ins class="adsbygoogle"
        style="display:block; text-align:center;"
        data-ad-layout="in-article"
        data-ad-format="fluid"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="3777011170"></ins>
<script>
    (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-revert.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>